package xian.woniu.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import xian.woniu.util.ResultVO;

@FeignClient("sun-doctor")
public interface IDoctorService {
    @GetMapping("/doctor/findOne/{did}")
    ResultVO findOne(@PathVariable("did") String did);
    @GetMapping("/doctor/findAllWithText")
    ResultVO findAllWithText();
}


